<?php

/**
 * DebridUserService form.
 *
 * @package    debrideur
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class NewletterForm extends sfForm
{
  public function configure() 
  { 
    $this->setWidgets(array(
      'email'   => new sfWidgetFormInput(),
    ));		

	$this->setDefaults(array('email' => 'newletter')  );		   
      
    $this->setValidators(array(
      'email'   => new sfValidatorEmail(array('required' => true))
    ));
  	
  }


}
